package com.fangs.yehwangglobal.net.rx;

import io.reactivex.ObservableOnSubscribe;

/**
 * Created by caih on 2018/4/12.
 * T 任务泛型
 */
public abstract class MyRxOnSubscribe<T> implements ObservableOnSubscribe<T> {
    private T t;

    MyRxOnSubscribe(T t) {
        setT(t);
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }
}
